<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <title>chat</title>

  <style type="text/css">
    html, body, #app {
      height: 100%;
    }
  </style>
</head>
<body>
<div id="app" style="overflow: hidden;"></div>
<!-- built files will be auto injected -->
<script>
  var wsUrl = 'ws://127.0.0.1:2358';
  var uploadConfig = {
    //url: 'http://127.0.0.1/uploads.php',
    url: 'http://127.0.0.1:8080/uploads.php',
    urlKey: 'url',
  }
  // 是否小屏幕
  var isPhone = window.innerWidth < 576 ? true : false;

  window.onbeforeunload = function (e) {
    return "确定离开当前页面吗？";
  };
</script>
</body>
</html>
